<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>GERA NOVA SENHA PARA SERVIDOR</title>
</head>
<body>
<f:view>
	<f:subview id="titulo">
		<c:import url="/seguro/FragmentoTitulo.jsp"></c:import>
	</f:subview>
	<br><br>
	<f:subview id="usuarioLogado">
		<c:import url="/seguro/FragmentoUsuarioLogado.jsp"></c:import>
	</f:subview>
	<br>
	<center>
	<h:outputFormat value="GERA NOVA SENHA PARA SERVIDOR" style='color: #FFFFFF; font-style: normal; font-size: 24px; font-family: "Book Antiqua", "Times New Roman", Serif; text-decoration: underline; border-top-style: solid; letter-spacing: 6px; text-align: center; background-color: #000000; border-right-style: solid; border-bottom-color: #EAE02D; border-bottom-style: solid; border-left-color: #EAE02D; border-top-color: #EAE02D; border-right-color: #EAE02D; border-left-style: solid; background-position: center center'>
		<f:param value=""></f:param>
	</h:outputFormat>
	<br>
	<br>
	<h:messages style="border-bottom-style: solid; border-top-style: solid; color: #FF0000; border-left-style: solid; background-color: #FFD5D5; border-right-style: solid"></h:messages>
	<h:form style="width: 437px">
			<br><br>
			<h:panelGrid border="0" columns="2" columnClasses="list-column-left"  id="fornecedorPainelGrid" rendered="true">
			<h:outputLabel value="Servidor:" id="servidorLabel" rendered="true" style="font-weight: bold"></h:outputLabel>
			<h:outputLabel value="#{servidorBean.nome}" id="servidorNomeLabel" rendered="true" style="vertical-align: middle; text-align: left"></h:outputLabel>			
			<h:outputLabel value="Login:" id="usuarioLoginLabel" rendered="true" style="font-weight: bold"></h:outputLabel>
			<h:outputLabel value="#{servidorBean.login}" id="loginLabel" rendered="true"></h:outputLabel>
			<h:outputText value="Nova Senha:" id="senhaLabel" style="font-weight: bold"></h:outputText>
			<h:inputSecret value="#{servidorBean.senha}" label="Senha" style="width: 210px"></h:inputSecret>
			<h:outputText value="Redigite a Nova Senha:" id="redigiteSenhaLabel" style="font-weight: bold"></h:outputText>
			<h:inputSecret value="#{servidorBean.redigitesenha}" label="RedigiteSenha" style="width: 210px"></h:inputSecret>
		</h:panelGrid>
		<br><br>
		<h:panelGrid border="0" columns="2">
			<h:commandButton label="Cancelar" id="cancelaButton" value="Cancelar" action="cancelar" immediate="true"></h:commandButton>
			<h:commandButton label="Concluir" value="Concluir" id="concluirButton" action="#{servidorBean.geraNovaSenha}"></h:commandButton>
		</h:panelGrid>
	</h:form>
</center>
</f:view>
</body>
</html>